package com.mxdx.edu.enums;

import java.util.HashMap;
import java.util.Map;

public enum SalesManTypeEnums {

	PEOPLES("1", "推荐个人"),
	ENTERPRISE("2", "推荐企业");
	
	private String code;
	private String desc;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	private SalesManTypeEnums(String code, String desc) {
		this.code = code;
		this.desc = desc;
	}
	
	public static Map<String, SalesManTypeEnums> getMap(){
		return SALES_MAN_TYPE_ENUMS_MAP;
	}
	
	private static Map<String, SalesManTypeEnums> SALES_MAN_TYPE_ENUMS_MAP = new HashMap<>();
	static {
		SALES_MAN_TYPE_ENUMS_MAP.put("1", PEOPLES);
		SALES_MAN_TYPE_ENUMS_MAP.put("2", ENTERPRISE);
	}
	
	
}
